MIME types and external viewers
In this version of AWeb you have to set up MIME types and external viewers
by changing the file AWeb.MIMEtypes
by hand.
The format of each line in this file is:
MIMEtype/subtype ; [extensions] ; [command]
Note that there should be no spaces around the semicolons.
- MIMEtype/subtype
- The MIME type as reported by the HTTP-server, or some inofficial
MIMEtype (X-...). You can use an asterisk (*) as wildcard for the subtype.
- extensions
- Zero or more extensions, separated by single spaces. AWeb uses these
to determine the MIME type if no type was reported by the server.
- command
- An optional external viewer command, including full path. The first
%s
will be replaced by a filename.
If no MIME type is reported by the server, and AWeb can't determine the
MIME type by the extension, it inspects the contents to see if it is HTML,
plain text or binary. HTML and plain text are displayed, for a binary file
a save requester will pop up.